/**
 * 
 */
package wpmp.auth.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.jdbc.core.JdbcTemplate;

/**
 * @author Wayne.Wang<5waynewang@gmail.com>
 * @since 2:59:14 PM Dec 26, 2012
 */
public class BaseDao {

	protected JdbcTemplate jdbcTemplate;

	@Autowired
	@Lazy
	public void setJdbcTemplate(final JdbcTemplate jdbcTemplate) {
		this.jdbcTemplate = jdbcTemplate;
	}

	public JdbcTemplate getJdbcTemplate() {
		return jdbcTemplate;
	}
}
